Display the name of the most recently added dataset on data.govΒΆ

Display the name of the most recently added dataset on data.gov.
from lxml import html
import requests

response = requests.get('http://catalog.data.gov/dataset?q=&sort=metadata_created+desc')

doc = html.fromstring(response.text)

title = doc.cssselect('h3.dataset-heading')[0].text_content()

print("The name of the most recently added dataset on data.gov:")
print(title.strip())

Output:

The name of the most recently added dataset on data.gov:
Small Cell Locations